import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    // Dialog是否显示
    showDialog: false
  },
  mutations: {
    //改变showDialog
    changeDialog(state,isShow){
      state.showDialog = isShow
    }
  }
});

export default store;
